package com.fmx.BookStore.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fmx.BookStore.domain.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<User> {
    User selectUserById(Long userId);
    List<User> listUser(User user);
    int insertUser(User user);
    int updateUser(User user);
    int deleteUser(Long userId);
}
